<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="currentTime" value="<%=System.currentTimeMillis()%>"></c:set>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>${article.article_title }</title>
  </head>
  <body>
      <form action="article/add_edit.do" name="Form" method="post">
          <input type="hidden" name="id" id="id" value="${article.id}"/>
          <table>
              <tr>
                  <h1>${article.article_title }</h1>
              </tr>
<%--               <tr>
                  <td>标题</td>
                  <td>
                      <input type="text" name="article_title"  value="${article.article_title}" maxlength="20" placeholder="这里输入文章标题" title="标题" style="width:98%;"/>
                  </td>
              </tr> --%>
              <tr>
                  <td>作者:</td>
                  <td>${article.article_author} </td>
                  <td>创建时间:</td>
                  <td>${article.create_date}</td>
                  <td>类别:</td>
                  <td>${article.article_category}</td>
              </tr>
              <tr>
                  <td>图片:</td>
                  <td>${article.article_img}</td>
              </tr>
              <tr>
                  <td>文章内容</td>
              </tr>
              <tr>
                  <%-- <td><input type="text" name="article_content"  value="${article.article_content}" maxlength="20" placeholder="这里输入文章内容" title="内容" style="width:98%;"/></td> --%>
                  <%-- <td><textarea name="article_content" id="myEditor">${article.article_content}</textarea></td> --%>
              </tr>
          </table>
          <div>${article.article_content}</div>
          <button type="submit">编辑</button>
      </form>
  </body>
  </html>
